package com.aaa.inside.service.impl;

import com.aaa.entity.inside.AllocationDetail;
import com.aaa.inside.mapper.AllocationDetailMapper;
import com.aaa.inside.service.AllocationDetailService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author aaa
 * @since 2020-12-05
 */
@Service
public class AllocationDetailServiceImpl extends ServiceImpl<AllocationDetailMapper, AllocationDetail> implements AllocationDetailService {

    @Override
    public List<AllocationDetail> selectAllDetail(String allocationno) {
        return this.baseMapper.selectAllDetail(allocationno);
    }

    @Override
    public AllocationDetail selectDeByaNoLBar(String allocationno, String locatorcode, String commoditybar) {
        return this.baseMapper.selectDeByaNoLBar(allocationno,locatorcode,commoditybar);
    }

    @Override
    public boolean deleteDetailByNo(String allocationno) {
        return this.baseMapper.deleteDetailByNo(allocationno);
    }

}
